﻿using System;
using System.Collections.Generic;
using System.Linq;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace GroupMeal.Menus
{
    /// <summary>
    /// 日菜单
    /// </summary>
    public class DailyMenu : FullAuditedEntity<Guid>, IMultiTenant
    {
        /// <summary>
        /// 租户ID
        /// </summary>
        public virtual Guid? TenantId
        {
            get; set;
        }

        /// <summary>
        /// 日期
        /// </summary>
        public virtual DateTime Date
        {
            get; set;
        }

        /// <summary>
        /// 周几
        /// </summary>
        public virtual DayInWeek DayInWeek
        {
            get;
            set;
        }

        /// <summary>
        /// 开启早餐
        /// </summary>
        public virtual bool BreakfastActive
        {
            get; set;
        }

        /// <summary>
        /// 开启午餐
        /// </summary>
        public virtual bool LaunchActive
        {
            get; set;
        }

        /// <summary>
        /// 开启晚餐
        /// </summary>
        public virtual bool DinnerActive
        {
            get; set;
        }

        // 早餐详情
        public virtual List<DailyMenuDetail> BreakfastDetails
        {
            get;set;
        }

        //　午餐详情
        public virtual List<DailyMenuDetail> LaunchDetails
        {
            get;set;
        }

        // 晚餐详情
        public virtual List<DailyMenuDetail> DinnerDetails
        {
            get;set;
        }
    }
}
